package cn.qlu.yhy.model;

import java.util.Date;

import cn.qlu.yhy.model.enumpack.BookClassify;
import cn.qlu.yhy.model.enumpack.BookStatus;
import cn.qlu.yhy.model.enumpack.BookType;

public class Book {

    private int bookId;

    private String bookName;

    private int value;

    private int userId;

    private int nowUserId;

    private BookType bookType;

    private BookClassify bookClassify;

    private String press;

    private String description;

    private String author;

    private BookStatus bookStatus;

    private Date createDate;

    private Date updateDate;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getNowUserId() {
        return nowUserId;
    }

    public void setNowUserId(int nowUserId) {
        this.nowUserId = nowUserId;
    }

    public BookType getBookType() {
        return bookType;
    }

    public void setBookType(BookType bookType) {
        this.bookType = bookType;
    }

    public BookClassify getBookClassify() {
        return bookClassify;
    }

    public void setBookClassify(BookClassify bookClassify) {
        this.bookClassify = bookClassify;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public BookStatus getBookStatus() {
        return bookStatus;
    }

    public void setBookStatus(BookStatus bookStatus) {
        this.bookStatus = bookStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Book() {
        super();
    }

    public Book(int bookId, String bookName, int value, int userId, int nowUserId,
            BookType bookType, BookClassify bookClassify, String press,
            String description, String author, BookStatus bookStatus,
            Date createDate, Date updateDate) {
        super();
        this.bookId = bookId;
        this.bookName = bookName;
        this.value = value;
        this.userId = userId;
        this.nowUserId = nowUserId;
        this.bookType = bookType;
        this.bookClassify = bookClassify;
        this.press = press;
        this.description = description;
        this.author = author;
        this.bookStatus = bookStatus;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }

}
